//
//  STMainPageService.h
//  YiYueStore
//
//  Created by zhouzhouzhou on 2018/10/16.
//  Copyright © 2018年 YuYiLian. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "STNetRequset.h"
#import "PersonCenterNet.h"

@interface STMainPageService : NSObject

//TOODO:未实现接口，
/*
 门店邀请美发师（入驻，自由）
 门店评论列表，
 门店回复评论，
 
 */

#pragma mark- 门店

//获取门店审核状态
+(void)getDoorExamineStatusWithstylistId:(long)stylistId completion:(STResultObjectBlock)completion;

//获取门店页面信息
+(void)getDoorInfoWithParameters:(NSDictionary *)parameters completion:(STResultObjectBlock)completion;

//将门店添加收藏
+(void)collectionDoorWithstylistId:(long)stylistId isCollection:(BOOL)collection completion:(STResultObjectBlock)completion;

//获取门店所有服务类型
+(void)getDoorAllServiceType:(STResultObjectBlock)completion;

//获取门店服务设置信息
+(void)getDootSetInfoWithstylistId:(long)stylistId completion:(STResultObjectBlock)completion;

//设置门店服务设置信息
+(void)setDootSetInfoWithstylistId:(long)stylistId WithParameters:(NSDictionary *)parameters completion:(STResultObjectBlock)completion;

#pragma mark- 评论

//根据订单id查询评论
+(void)getOrderCommentWithOrderId:(long)stylistId completion:(STResultObjectBlock)completion;

//获取门店总评分
+(void)getDoorTotalScoreWithstylistId:(long)stylistId completion:(STResultObjectBlock)completion;

//获取门店评论 分页
+(void)getDoorCommentWithstylistId:(long)stylistId page:(int)page size:(int)size completion:(STResultObjectBlock)completion;

//回复评论
+(void)replayDoorCommentWithCommentId:(long)commentId context:(NSString*)context completion:(STResultObjectBlock)completion;

#pragma mark- 美发师
//获取美发师名片详情
+(void)getHairerInfo:(long)stylistId completion:(STResultObjectBlock)completion;


//获取美发师评价
+(void)getHairerEvaluate:(long)stylistId completion:(STResultObjectBlock)completion;

//获取门店自己的 美发师列表
//type (integer, optional): 签约类型0入驻，1签约 ,
+(void)getSelfHairerListWithstylistId:(long)stylistId Type:(int)type page:(int)page size:(int)size completion:(STResultObjectBlock)completion;

//根据条件查询 美发师列表
+(void)nearbySortScreen:(int)type distance:(long)distance cityId:(long)cityId districtId:(int)districtId coupon:(NSString *)coupon position:(NSString *)position sortType:(int)sortType page:(int)page size:(int)size complection:(STResultObjectBlock)complection;

//附近查询
+(void)getHairerListWithDistance:(long)distance cityId:(long)cityId districtId:(long)districtId page:(int)page size:(int)size completion:(STResultObjectBlock)completion;

//排序查询
+(void)getHairerListWithSortType:(int)sortType page:(int)page size:(int)size completion:(STResultObjectBlock)completion;

//筛选查询
+(void)getHairerListWithCoupon:(NSString *)coupon position:(NSString *)position page:(int)page size:(int)size completion:(STResultObjectBlock)completion;

//搜索美发师
+(void)searchHairerWithstylistId:(long)stylistId withName:(NSString *)name completion:(STResultObjectBlock)completion;

//获取美发师作品详情
+(void)searchHairerWithOpusId:(long)opusId completion:(STResultObjectBlock)completion;

//获取美发师作品集
+(void)searchHairerWithStylistId:(long)stylistId completion:(STResultObjectBlock)completion;

//收藏/取消收藏美发师作品
+(void)collectionHairerProjectWithOpusId:(long)opusId type:(int)type completion:(STResultObjectBlock)completion;

//收藏/取消收藏美发师
+(void)collectionHairerWithStylistId:(long)stylistId type:(int)type completion:(STResultObjectBlock)completion;

//门店解约美发师
+(void)relieveHairerWithStylistId:(long)stylistId stylistId:(long)stylistId nexus:(int)nexus completion:(STResultObjectBlock)completion;

//门店邀请美发师
/**
 *stylistId (integer, optional): 美发师ID ,
 *stylistUserId (integer, optional): 美发师用户ID
 *nexus (string, optional): 入驻关系 0 入驻 1 签约 ,
 */
+(void)inviteHairerWithStylistId:(long)stylistId stylistUserId:(long)stylistUserId nexus:(int)nexus completion:(STResultObjectBlock)completion;

//美发师作品 被查看/收藏统计
+(void)countHairerProjectWithOpusId:(long)opusId type:(int)type completion:(STResultObjectBlock)completion;

#pragma mark 位置
//获取服务器所有位置数据
+(void)getAllCityInfo:(STResultObjectBlock)completion;

////根据省Id获取城市区
//+(void)getCityAreasWithPartentId:(long)partentId completion:(STResultObjectBlock)completion;

//根据门店id 获取城市区
+(void)getCityAreas:(STResultObjectBlock)completion;
// 获取所有省市区
+(void)getAllCityAreas:(STResultObjectBlock)completion;

#pragma mark 订单统计
//订单统计
+(void)getStoreOrderCount:(STResultObjectBlock)completion;

//门店所有成功订单统计
+(void)getStoreSuccessCountWithStartStr:(NSString *)startStr endStr:(NSString *)endStr nexus:(int)nexus completion:(STResultObjectBlock)completion;

//扫码核销
+(void)scanQRcode:(NSString *)orderId completion:(STResultObjectBlock)completion;
































@end
